﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/FrontPageSite.master" AutoEventWireup="true" CodeBehind="ProductInforList.aspx.cs" Inherits="CRMSalesManagement.FrontPageShow.ProductInforList" %>
<%@ Register Assembly="DataPage" Namespace="DataPageTools" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../DataPage/css.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/MasterPage.css" rel="stylesheet" type="text/css" />
<div style="width:700px;height:auto; overflow:hidden;">         
         <div class="GridView" style=" padding-left:10px">
         <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
         <asp:GridView ID="gvProductsList" runat="server" BorderStyle="Double" CellPadding="4" 
                          GridLines="None" AutoGenerateColumns="False" Font-Size="12px" DataKeyNames="productID" 
                          onselectedindexchanged="Page_Load" Width="670px"
            ForeColor="#333333" 
                 onrowediting="gvNewsList_RowEditing" AllowSorting="True" >
                          <AlternatingRowStyle BackColor="White" />
                          <Columns>
                              <asp:BoundField HeaderText="型号" DataField="model" 
                                  ItemStyle-HorizontalAlign="Center">
                              <ItemStyle Width="74px"  />
                              </asp:BoundField>
                               <asp:BoundField DataField="type" HeaderText="类型" >
                              <ItemStyle HorizontalAlign="Center" Width="100px" />
                              </asp:BoundField>
                              <asp:BoundField DataField="brand" HeaderText="品牌" >
                               <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                               <asp:BoundField DataField="innerDiameter" HeaderText="内径" >
                              <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                              <asp:BoundField DataField="externalDiameter" HeaderText="外径" >
                              <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                              <asp:BoundField DataField="height" HeaderText="高度" >
                              <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                              <asp:BoundField DataField="limitSpeed" HeaderText="极限转速" >
                              <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                              <asp:BoundField DataField="referenceSpeed" HeaderText="参考转速" >
                               <ItemStyle HorizontalAlign="Center" Width="74px" />
                              </asp:BoundField>
                               <asp:HyperLinkField DataNavigateUrlFields="ProductId" 
                                  DataNavigateUrlFormatString="ProductInformation.aspx?productInforId={0}" 
                                  Text="详细">
                              <ItemStyle Width="74px" />
                              </asp:HyperLinkField>
                          </Columns>
                          <EditRowStyle BackColor="#2461BF" />
                          <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                          <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                          <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                          <RowStyle BackColor="#EFF3FB" />
                          <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                          <SortedAscendingCellStyle BackColor="#F5F7FB" />
                          <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                          <SortedDescendingCellStyle BackColor="#E9EBEF" />
                          <SortedDescendingHeaderStyle BackColor="#4870BE" />
                      </asp:GridView>
                              </ContentTemplate>
</asp:UpdatePanel>
           </div>  
           <div style="text-align:center;padding-top:20px;color:red;font-size:12px">
               <asp:Label ID="lblProduct" runat="server"></asp:Label>
         </div>         
<div class="DataPage">
    <center>
    <cc1:datapage ID="DataPage1" runat="server" DIVClassName="yahoo" 
            ShowRecordCount="15" ShowPageNumberCount="10">        
        <PageIndex PageIndexType="TextBox"></PageIndex>
 </cc1:datapage>
    </center>
    </div>
</div>
</asp:Content>
